﻿namespace Aquarinum.Base.Infrastructure.EventBus.Interfaces
{
    /// <summary>
    /// 处理方法执行
    /// </summary>
    /// <typeparam name="TMessage"></typeparam>
    public interface IHandlerRunner<in TMessage> where TMessage : IEventData
    {
        /// <summary>
        /// 执行handler
        /// </summary>
        /// <param name="message"></param>
        void ExcuteHandler(TMessage message);
    }
}